import { Layout } from "antd";
import Aside from "../Aside";
import Header from "../Header";
import Content from "../Content";
import { useEffect } from "react";
import type { ReactElement } from "react";

export default function Admin(): ReactElement {
  useEffect(() => {}, []);

  return (
    <Layout>
      <Aside />
      <Layout>
        <Header />
        <Content />
      </Layout>
    </Layout>
  );
}
